﻿<?php require("includes/php/requirements.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>theTextPad</title>
		<script language="javascript" type="text/javascript" src="includes/js/mooengine.js"></script>
		<script language="javascript" type="text/javascript" src="includes/js/mainengine.js"></script>
        <link rel="stylesheet" type="text/css" href="includes/css/stylesheet.css" />
    </head>
    <body>
        <div class="HeaderContainer">
            <div class="HeaderLeftEdge"></div>
            <div class="Header" id="Header">
                <a class="Logo" href="#Main" title="theTextPad"></a>
				<div class="NotificationsContainer">
					<div class="Notifications" id="Notifications"></div>
				</div>
				<div id="HeaderReqAuth" <?php if (!$IsAuthenticated) { ?>style="display:none;"<?php } ?>>
					<a href="javascript:ToggleNewsFeed();" class="NewsFeedBtn" title="News Feed"></a>
					<a href="javascript:ToggleNotifications();" class="NotificationsBtn" title="Notifications"></a>
					<a href="javascript:ToggleUserSettings();" class="UserSettingsBtn" title="User Settings"></a>
					<form class="SearchForm">
						<input type="text" id="SearchText" name="Search" class="SearchText" value="" />
						<input type="submit" class="SearchSubmit" value="" title="Search" />
					</form>
				</div>
            </div>
            <div class="HeaderRightEdge"></div>
        </div>
		<div class="MainContainer" id="MainContainer"></div>
    </body>
</html>